package com.alks.function.data.request.finance.ryfinance;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alks.entity.data.page.PageParam;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;

/**
 * @author MS
 * @since 2024/5/23下午3:39
 */
@Data
public class CostDetailQueryRequest extends PageParam {

    @ApiModelProperty(value = "单据号码")
    private String slipNo;

    @ApiModelProperty(value = "送货单号")
    private String sendNo;

    @DateTimeFormat("yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "单据日期始")
    private LocalDate slipDateStart;

    @DateTimeFormat("yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "单据日期末")
    private LocalDate slipDateEnd;

    @ApiModelProperty(value = "费用类型名称")
    private String typeName;

    @ApiModelProperty(value = "厂商名")
    private String vendorName;

    @DateTimeFormat("yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "制单日期始")
    private LocalDate sysDateStart;

    @DateTimeFormat("yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "制单日期末")
    private LocalDate sysDateEnd;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "对账月份")
    private String financeYymm;

    @ApiModelProperty(value = "费用描述")
    private String costDesc;

    @ApiModelProperty(value = "结算单号")
    private String balanceNo;

    @ApiModelProperty(value = "1.未结算 2.已结算 3.未应付 4.已应付")
    private Integer flag;

    @ApiModelProperty(value = "1.正序 2.倒序")
    private Integer orderFlag;

    @ApiModelProperty(value = "排序字段")
    private String orderName;

    @ApiModelProperty(value = "部门")
    private String deptName;

    @ApiModelProperty(value = "结算方式")
    private String accountName;

    @ApiModelProperty(value = "备注")
    private String remark;

}
